package com.qj.travel.service;

import com.qj.travel.db.model.TransInfoModel;

import java.util.List;

/**
 * Created by Admin on 2016/10/1.
 */
public interface TransInfoService {
    List<TransInfoModel> getTransInfoList();
    List<TransInfoModel> getTransBySort(String videoClass,int startRow,int pageSize);
    TransInfoModel getTransInfo(int videoId);
    int insertTransInfo(TransInfoModel transInfoModel);
    List<TransInfoModel> getTransInfoListByPage(int startRow,int pageSize);
    int deleteTrans(int transId);
    List<TransInfoModel> getTransPublished(int startRow,int pageSize);
    List<TransInfoModel> getTransPublishedBySort(String videoClass,int startRow,int pageSize);
    List<TransInfoModel> getTransNotPublished(int startRow,int pageSize);
    int updateLock(int videoId);
    int updatePublish(int videoId);
    int cancelPublish(int videoId);
    int updateNotPass(int videoId);
    int updateClass(int videoId,String videoClass);
    List<TransInfoModel> getTransByUser(String userId);
    List<TransInfoModel> getTransByUserPublished(String userId);
    List<TransInfoModel> getTransByUserNotPublished(String userId);
    List<TransInfoModel> getTransByUserNotPass(String userId);
    List<TransInfoModel> getTransNotPass();
}
